package model

import "time"

type ProdTagReference struct {
	ReferenceId uint      `gorm:"primary_key;AUTO_INCREMENT;comment:分组引用id"  json:"referenceId"` //分组引用id
	ShopId      uint      `gorm:"type:bigint;comment:店铺id" json:"-"`              //店铺id
	TagId       uint      `gorm:"type:bigint;comment:标签id" json:"tagId"`          //标签id
	ProdId      uint      `gorm:"type:bigint;comment:商品id" json:"prodId"`         //商品id
	Status      int       `gorm:"type:tinyint;not null;default:2" json:"status"`  //状态(2:正常, 1:删除)
	CreatedAt   time.Time `json:"createdAt"`
	UpdatedAt   time.Time `json:"updatedAt"`
}
